package com.sg.dto.integration.pbff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @desc BffVirtualImageDto
 * @使用场景
 */
@Data
public class BffVirtualImageDto implements Serializable {

    /**
     * 虚拟形象ID
     */
    @ApiModelProperty("虚拟形象ID")
    private String virtualImageId;

    /**
     * 虚拟形象名称
     */
    @ApiModelProperty("虚拟形象名称")
    private String virtualImageName;

    /**
     * 使用场景类型编码 SYSTEM:系统消息
     */
    @ApiModelProperty("使用场景类型编码")
    private String sceneTypeCode;

    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 个人账号ID
     */
    @ApiModelProperty("个人账号ID")
    private String userId;

    /**
     * 真实姓名
     */
    @ApiModelProperty("真实姓名")
    private String idCardName;

    /**
     * 真实头像
     */
    @ApiModelProperty("真实头像")
    private String userFace;

    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickName;

    /**
     * 操作时间
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    /**
     * 操作人就职记录ID
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;
    /**
     * 虚拟形象图片
     */
    @ApiModelProperty("虚拟形象图片")
    private String virtualImage;

    /**
     * 人物经典语句
     */
    @ApiModelProperty("人物经典语句")
    private String characterClassicPhrase;

    /**
     * 是否自定义形象 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否自定义形象")
    private String isCustomImage;
    /**
     * 虚拟形象简介
     */
    @ApiModelProperty("虚拟形象简介")
    private String virtualImageDesc;
    /**
     * 虚拟形象标识
     */
    @ApiModelProperty("虚拟形象标识")
    private String virtualImageCode;

    /**
     * 使用场景子类型 STRONG_REMINDER_BY_ASSISTANT:助手强提醒 CHAT-VIRTUAL-IMAGE:沟通形象 MESSAGE-AVATAR:消息头像
     */
    @ApiModelProperty("使用场景子类型")
    private String sceneSubTypeCode;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffVirtualImageDto that = (BffVirtualImageDto) o;
        return virtualImageId == that.virtualImageId && virtualImageName == that.virtualImageName && sceneTypeCode == that.sceneTypeCode && subjectLifeCycle == that.subjectLifeCycle && userId == that.userId && idCardName == that.idCardName && userFace == that.userFace && nickName == that.nickName && operateTime == that.operateTime && operationInductionId == that.operationInductionId && virtualImage == that.virtualImage && characterClassicPhrase == that.characterClassicPhrase && isCustomImage == that.isCustomImage && virtualImageDesc == that.virtualImageDesc && virtualImageCode == that.virtualImageCode && sceneSubTypeCode == that.sceneSubTypeCode;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), virtualImageId, virtualImageName, sceneTypeCode, subjectLifeCycle, userId, idCardName, userFace, nickName, operateTime, operationInductionId, virtualImage, characterClassicPhrase, isCustomImage, virtualImageDesc, virtualImageCode, sceneSubTypeCode);
    }

}
